package com.fc.mall.model;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
public class SmsGroupbuyPromotion implements Serializable {
    private Long id;

    /**
     * 名称
     *
     * @mbggenerated
     */
    private String name;

    /**
     * 副标题
     *
     * @mbggenerated
     */
    private String subTitle;

    /**
     * 活动开始时间
     *
     * @mbggenerated
     */
    private Date startDate;

    /**
     * 活动结束时间
     *
     * @mbggenerated
     */
    private Date endDate;

    /**
     * 活动海报
     *
     * @mbggenerated
     */
    private String posterImg;

    /**
     * 是否开启预热：0->不开启；1->开启
     *
     * @mbggenerated
     */
    private Integer warmUp;

    /**
     * 开启预热时间
     *
     * @mbggenerated
     */
    private Integer warmUpHour;

    /**
     * 单个用户最多发起拼团次数
     *
     * @mbggenerated
     */
    private Integer groupbuyTimeLimit;

    /**
     * 下单允许使用积分
     *
     * @mbggenerated
     */
    private Integer allowPoint;

    /**
     * 删除标志： 0->未删除，1->已删除
     *
     * @mbggenerated
     */
    private Integer deleteStatus;

    /**
     * 创建时间
     *
     * @mbggenerated
     */
    private Date createDate;

    private String description;

    private static final long serialVersionUID = 1L;

    private Integer paymentOrderCount;

    private Integer groupBuyCount;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", subTitle=").append(subTitle);
        sb.append(", startDate=").append(startDate);
        sb.append(", endDate=").append(endDate);
        sb.append(", posterImg=").append(posterImg);
        sb.append(", warmUp=").append(warmUp);
        sb.append(", warmUpHour=").append(warmUpHour);
        sb.append(", groupbuyTimeLimit=").append(groupbuyTimeLimit);
        sb.append(", allowPoint=").append(allowPoint);
        sb.append(", deleteStatus=").append(deleteStatus);
        sb.append(", createDate=").append(createDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}